<!--<include file="public+header">-->

<!--{script}-->
function updatecheck(){
	Q.AjaxSend(Q.U('jiajucompanyrefresh/index'),'ajax=1','',function(data,status){
		if(status==1){
			setTimeout(function(){
				window.location.replace(_SELF_);
			},1000);
		}
	});
}
<!--{/script}-->

	<section class="secondary_bar">
		<div class="breadcrumbs_container">
			<article class="breadcrumbs"><a href="<!--{:Q::U('public/fmain')}-->"><!--<lang package='Template'>-->主页<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a class="current">商家管理中心</a></article>
		</div>
	</section>

	<section id="main" class="column">

		<article class="module width_full">
			<div class="module_content">
				<h2>您好：<a href="<!--{:Jiaju_Extend::getShopUrl($GLOBALS['_company_'])}-->" target="_blank"><!--{$GLOBALS['_company_']['jiajucompany_fullname']}--></a></h2>

				<div class="shop_attrbox">
					<span class="shop_attrtitle"><!--{if $GLOBALS['_company_']['jiajucompany_isfvip']==1}--><a href="<!--{:Q::U('jiajucompanyad/index')}-->" style="color:#0DD07F;" title="查看VIP帐号过期时间"><b>尊贵商铺</b></a><span style="color:#0DD07F;">：</span><!--{d*else}-->商铺状态：<!--{/if}--></span>
					<span class="shop_attrvalue"><!--{if $GLOBALS['_company_']['jiajucompany_isfvip']==1}-->VIP商铺<!--{d*else}-->普通商铺<!--{/if}--></span>
					<span class="shop_attrtitle"><!--{if $GLOBALS['_company_']['jiajucompany_isavip']==1}--><a href="<!--{:Q::U('jiajucompanyad/index')}-->" style="color:#0DD07F;" title="查看广告过期时间"><b>广告客户</b></a><span style="color:#0DD07F;">：</span><!--{d*else}-->广告客户：<!--{/if}--></span>
					<!--{if $GLOBALS['_company_']['jiajucompany_isavip']==1}--><span class="shop_attrvalue">是</span><!--{d*else}--><span class="shop_attrgrayvalue">否</span><!--{/if}-->
					<span class="shop_attrtitle">活跃等级：</span>
					<span class="shop_attrvalue"><!--{:Jiaju_Extend::getCredit($GLOBALS['_company_']['jiajucompany_credit'])}--></span>
					<span class="shop_attrtitle">商铺综合指数：</span>
					<span class="shop_attrvalue"><!--{:Jiaju_Extend::getCredit($GLOBALS['_company_']['jiajucompany_rank'])}--></span>
					<span class="shop_attrtitle" style="cursor:pointer;" title="为什么刷新商铺？" onclick="windsforceAlert('刷新一次，有很大机会可以让商铺在城市首页商家推荐排名靠前，刷新后可立刻查看。<br/> 1. VIP商铺每天可刷新<!--{$GLOBALS['_commonConfig_']['SHOP_LIMIT'][1]['REFRESH_TIMES']}-->次。<br/> 2. 普通商铺每天可刷新<!--{$GLOBALS['_commonConfig_']['SHOP_LIMIT'][0]['REFRESH_TIMES']}-->次。', '温馨提示');">刷新商铺：</span>
					<span class="shop_attrvalue">
						<input id="refresh_button" type="button" class="alt_btn" onclick="javascript:updatecheck();" value="刷新">
					</span>
					<span class="shop_attrtitle">上次刷新：</span>
					<span class="shop_attrvalue"><!--{$GLOBALS['_company_']['jiajucompany_refreshdateline']|date='Y-m-d H:i',**}--></span><br/>
					<!--{~$arrAuthsys=explode(',',$GLOBALS['_company_']['jiajucompany_authsys'])}-->
					<span class="shop_attrvalue left">
						<img src="<!--{:__ROOT__}-->/System/app/jiaju/Static/Images/icon/1<!--{if in_array(0,$arrAuthsys)}-->_<!--{/if}-->.gif" title="商家实名认证">
						<img src="<!--{:__ROOT__}-->/System/app/jiaju/Static/Images/icon/2<!--{if in_array(10,$arrAuthsys)}-->_<!--{/if}-->.gif" title="商家消费者保障认证">
						<img src="<!--{:__ROOT__}-->/System/app/jiaju/Static/Images/icon/3<!--{if in_array(20,$arrAuthsys)}-->_<!--{/if}-->.gif" width="48" height="41" title="商家实景认证">
					</span>
					<span class="shop_liangfang">
						<table cellspacing="0">
							<tr>
								<td>免费量房：<!--{if $GLOBALS['_company_']['jiajucompany_freeroom']==1}--><span class="shop_attrvalue">是</span><!--{d*else}--><span class="shop_attrgrayvalue">否</span><!--{/if}--></td>
								<td>免费设计：<!--{if $GLOBALS['_company_']['jiajucompany_freedesign']==1}--><span class="shop_attrvalue">是</span><!--{d*else}--><span class="shop_attrgrayvalue">否</span><!--{/if}--></td>
								<td>5年质保：<!--{if $GLOBALS['_company_']['jiajucompany_free5quality']==1}--><span class="shop_attrvalue">是</span><!--{d*else}--><span class="shop_attrgrayvalue">否</span><!--{/if}--></td>
								<td>送软装设计：<!--{if $GLOBALS['_company_']['jiajucompany_freesoftdesign']==1}--><span class="shop_attrvalue">是</span><!--{d*else}--><span class="shop_attrgrayvalue">否</span><!--{/if}--></td>
								<td>满意付款：<!--{if $GLOBALS['_company_']['jiajucompany_satispayment']==1}--><span class="shop_attrvalue">是</span><!--{d*else}--><span class="shop_attrgrayvalue">否</span><!--{/if}--></td>
							</tr>
							<tr>
								<td>免费估价：<!--{if $GLOBALS['_company_']['jiajucompany_freerate']==1}--><span class="shop_attrvalue">是</span><!--{d*else}--><span class="shop_attrgrayvalue">否</span><!--{/if}--></td>
								<td>免费方案：<!--{if $GLOBALS['_company_']['jiajucompany_freeplan']==1}--><span class="shop_attrvalue">是</span><!--{d*else}--><span class="shop_attrgrayvalue">否</span><!--{/if}--></td>
								<td>第三方监理：<!--{if $GLOBALS['_company_']['jiajucompany_freethree']==1}--><span class="shop_attrvalue">是</span><!--{d*else}--><span class="shop_attrgrayvalue">否</span><!--{/if}--></td>
								<td>先行赔付：<!--{if $GLOBALS['_company_']['jiajucompany_safepayment']==1}--><span class="shop_attrvalue">是</span><!--{d*else}--><span class="shop_attrgrayvalue">否</span><!--{/if}--></td>
								<td></td>
							</tr>
						</table>
					</span>
				</div>

				<table class="tablesorter" cellspacing="0">
					<thead>
						<th>系统提示：<span class="companynotice_num"><!--{:count($arrCompanyNotices)}--></span></th>
					</thead>
					<tbody>
						<tr>
							<td><!--{$sTipsTxt}--></td>
						</tr>
						<!--<foreach for="arrCompanyNotices">-->
						<tr>
							<td><!--{$value['jiajucompanynotice_content']}--></td>
						</tr>
						<!--</foreach>-->
					</tbody>
				</table>
			</div>
		</article>

		<article class="module width_full">
			<header><h3>商铺待处理事项</h3></header>
			<div class="module_content">
				<table class="tablesorter" cellspacing="0">
					<tbody>
						<tr>
							<td><a href="<!--{:Q::U('jiajucompanyguestbook/index')}-->">留言咨询</a></td>
							<td>最近30天内，有 <a href="<!--{:Q::U('jiajucompanyguestbook/index')}-->"><span class="red"><!--{$arrNeedtodo['guestbook']}--></span></a> 条留言等待您处理。</td>
							<td></td>
						</tr>
						<tr>
							<td><a href="<!--{:Q::U('jiajucompanycomment/index')}-->">网友点评</a></td>
							<td>最近30天内，有 <a href="<!--{:Q::U('jiajucompanycomment/index')}-->"><span class="red"><!--{$arrNeedtodo['comment']}--></span></a> 条点评等待您处理。</td>
							<td></td>
						</tr>
						<tr>
							<td><a href="<!--{:Q::U('jiajuorder/index')}-->">在线订单</a></td>
							<td>最近30天内，有 <a href="<!--{:Q::U('jiajuorder/index')}-->"><span class="red"><!--{$arrNeedtodo['order']}--></span></a> 个订单等待您处理。</td>
							<td></td>
						</tr>
						<tr>
							<td><a href="<!--{:Q::U('jiajubuildorder/index')}-->">预约参观</a></td>
							<td>最近30天内，有 <a href="<!--{:Q::U('jiajubuildorder/index')}-->"><span class="red"><!--{$arrNeedtodo['buildorder']}--></span></a> 个预约参观订单等待您处理。</td>
							<td></td>
						</tr>
					</tbody>
				</table>
			</div>
		</article>

		<article class="module width_full">
			<header><h3>管理员留言</h3></header>
			<div class="module_content">
				<table class="tablesorter" cellspacing="0">
					<tbody>
						<!--{if !empty($arrMessages)}-->
						<!--<foreach for="arrMessages">-->
						<tr>
							<td>
								<span class="message_time">[<!--{$value['create_dateline']|date='Y-m-d H:i',**}-->]</span>
								<!--{$value['jiajucompanymessage_content']}-->
							</td>
						</tr>
						<!--</foreach>-->
						<!--{d*else}-->
						<tr>
							<td>没发现任何记录！</td>
						</tr>
						<!--{/if}-->
					</tbody>
				</table>
			</div>
		</article>

<!--<include file="public+footer">-->